package com.ctshk.rpc.tour.req.es;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author lys
 * @create 2021-05-22
 */
@Data
@ApiModel(value="TripRecommendReq对象", description="相关推荐请求对象")
public class TripRecommendReq implements Serializable {

    @NotNull(message = "目的地id不能为空")
    @ApiModelProperty(value = "目的地id")
    private Long destinationId;

    @NotNull(message = "当前行程id不能为空")
    @ApiModelProperty(value = "当前行程id")
    private Long tripId;

    @NotNull(message = "出发地id不能为空")
    @ApiModelProperty(value = "出发地id")
    private Long departurePlaceId;

    @NotNull(message = "旅游组别id不能为空")
    @ApiModelProperty(value = "旅游组别码")
    private String groupCode;

    @NotNull(message = "旅行团性质id不能为空")
    @ApiModelProperty(value = "旅行团性质id")
    private Long groupNatureId;

    @NotNull(message = "渠道id不能为空")
    @ApiModelProperty(value = "渠道id")
    private Long channelId;

    @NotNull(message = "页码不能为空")
    @ApiModelProperty(value = "页码")
    private Integer page;
}
